<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" style="height: 100%">
<body class="body_hei edit">
<div th:replace="include/head.html::html"></div>
<div class="layui-form" lay-filter="layuiadmin-form-useradmin" id="layuiadmin-form-useradmin"
     style="padding: 20px 0 0 0;background-color: #FFFFFF;height: 100%">
    <input type="hidden" name="oid" th:field="${bean.oid}"/>
    <input type="hidden" name="parentOid" th:field="${bean.parentOid}"/>
    <input type="hidden" name="parentCode" th:field="${bean.parentCode}"/>
    <div class="layui-form-item">
        <label class="layui-form-label">子节点编码:</label>
        <div class="layui-input-inline">
            <input type="text" name="parentCode" lay-verify="required" placeholder="请输入" autocomplete="off"
                   class="layui-input" th:field="${bean.itemCode}" readonly>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">子节点名称:</label>
        <div class="layui-input-inline">
            <input type="text" name="itemName" lay-verify="required" placeholder="请输入" autocomplete="off"
                   class="layui-input" th:field="${bean.itemName}" readonly>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">排序:</label>
        <div class="layui-input-inline">
            <input type="number" name="orderBy" lay-verify="required" placeholder="请输入子级字典排序" autocomplete="off"
                   class="layui-input" th:field="${bean.orderBy}">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">状态</label>
        <div class="layui-input-inline">
            <select name="status">
                <option value="">请选择状态</option>
                <option value="1" th:selected="${bean.status == 1}">启用</option>
                <option value="2" th:selected="${bean.status == 2}">禁用</option>
            </select>
        </div>
    </div>
    <div class="layui-form-item layui-form-text">
        <label class="layui-form-label">值</label>
        <div class="layui-input-block" style="width: 80%;">
            <textarea name="remark" placeholder="请输入内容" lay-verify="required" class="layui-textarea" th:text="${bean.remark}"></textarea>
        </div>
    </div>
    <div class="layui-form-item layui-hide">
        <input type="button" lay-submit lay-filter="submit" id="submit" value="确认">
    </div>
</div>
<script>
    layui.use(['jquery','index','form'], function () {
    });
</script>
</body>
</html>